package com.reading.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.reading.mapper.TagclassMapper;
import com.reading.pojo.web.Classification;
import com.reading.pojo.web.Tagclass;
import com.reading.service.TagclassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagclassServiceImpl implements TagclassService {
    @Autowired
    private TagclassMapper tagclassMapper;

    @Override
    public List<Tagclass> findTag(Tagclass tagclass) {
        return tagclassMapper.findTag(tagclass);
    }

    @Override
    public void add(Tagclass tagclass) {
        tagclassMapper.add(tagclass);
    }

    @Override
    public void update(Tagclass tagclass) {
        tagclassMapper.update(tagclass);
    }

    @Override
    public void delete(Integer id) {
        tagclassMapper.delete(id);
    }
}
